package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressService {
    List<AddressBook> findList(AddressBook addressBook);

    void save(AddressBook addressBook);

    AddressBook findDefaultAddress();

    AddressBook findById(Long id);

    void updateAddressBook(AddressBook addressBook);

    void deleteById(Long id);

    void setDefault(Long id);
}
